package com.woniuxy.creditsystem.applymag.service;


import com.github.pagehelper.PageInfo;
import com.woniuxy.creditsystem.common.bean.ApplyInfo;

import com.woniuxy.creditsystem.common.bean.DtoApply;
import com.woniuxy.creditsystem.common.util.PageRest;

import java.util.List;

public interface IApplyService {

    List<DtoApply> findAll();

    List<DtoApply> findByStatus(String status);

    PageInfo  findByParam(PageRest pageRest, DtoApply dtoApply);

    ApplyInfo findById(long id);

    List<DtoApply> findNotTrail();

    int saveApply(ApplyInfo applyInfo);
    int updateApply(ApplyInfo applyInfo);
}